﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Workflow.ComponentModel;
using System.Workflow.ComponentModel.Compiler;
using System.ComponentModel;
using System.Net.Mime;

namespace Argos.Activities.MessageDelivery
{
	/// <summary>
	/// A base class for message delivery activities.
	/// </summary>
	[Browsable(false)]
	public abstract class MessageDeliveryActivityBase : Activity , IMessageDeliveryActivity
	{

		#region public AlertMessage Message { get; set; }

		public static readonly DependencyProperty MessageProperty = DependencyProperty.Register("Message", typeof(AlertMessage), typeof(MessageDeliveryActivityBase));

		[Browsable(false)]
		public AlertMessage Message
		{
			get { return (AlertMessage)this.GetValue(MessageProperty); }
			set { this.SetValue(MessageProperty, value); }
		}

		#endregion
		
	}
}
